home *** CD-ROM | disk | FTP | other *** search
- Path: imb.com!jon
- From: jon@imb.com (Jonathan Lee)
- Newsgroups: comp.lang.c
- Subject: Need help on DPMI32 communications programs
- Date: 8 Feb 1996 16:54:45 GMT
- Organization: IMB, Inc.
- Message-ID: <4fd9sl$6ek@imb-gw.imb.com>
- NNTP-Posting-Host: localhost.imb.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Hi,
- I am having problems to write a communication program in DOS 32 bit
- protected mode enviroment on Windows 95 DOS box and Windows NT DOS box. If
- anyone can help by email me a sample program will realy appreciate.
-
- My Compiler:Borland BC++ 4.52 and Powerpack.
- Problems :It works fine in Windows 3.1 or pure DOS enviroment, but
- got a error message:
- "This DPMI32 cannot be run on Win32" on
- Win32 enviroment (Windows 95,NT dos box).
- The routines I used: bioscom,outputb,inportb.
- routine I try to use: Win32 API routines:
- CreateFile - OK
- GetCommState - Unresolved external 'GetCommState' referenced
- from module ...
- SetCommState - same as above
- SetCommMask - same as above
- .......
- I guess Borland has yet to fully implement Win32 API routines
- into their Powerpack pakage?????
- so S.O.S.....
-
-
- I used Borland bioscom and outportb/inportb routines
-
- --
-
- ==============================================================================
-
- Jonathan Lee Voice: 617-864-1115 x146
- Information Marketing Businesses, Inc. Fax: 617-868-3221
- 18 Hurley Street Email: jon@imb.com
- Cambridge, MA 02141 USA
-
- ==============================================================================
-